﻿
namespace Project1
{
	/// <summary>
	/// A class the represents a cell in a grid
	/// </summary>
    class GridCell
    {
        private int cost;
        private CellType cellType;

		/// <summary>
		/// Gets the cost of travelling to this cell.
		/// </summary>
        public int Cost 
        {
            get
            {
                return this.cost;
            }
        }

		/// <summary>
		/// Gets the type of the cell.
		/// </summary>
        public CellType Type 
        {
            get
            {
                return this.cellType;
            }
        }

		/// <summary>
		/// Initializes a new instance of the <see cref="GridCell"/> class.
		/// </summary>
		/// <param name="cost">The cost of travelling to this cell.</param>
		/// <param name="cellType">The type of the cell.</param>
        public GridCell(int cost, CellType cellType)
        {
            this.cost = cost;
            this.cellType = cellType;
        }
    }
}
